package com.minzheng.blog.dao;

import com.minzheng.blog.dto.PhotoBackDTO;
import com.minzheng.blog.dto.PhotoDTO;
import com.minzheng.blog.entity.Photo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * 照片映射器
 *
 * @author wangdiyi
 * @date 2022/12/04
 */
@Repository
public interface PhotoDao extends BaseMapper<Photo> {

    List<PhotoBackDTO> listFrontOnePhoto();
    List<PhotoBackDTO> listFrontSysPhoto();
    List<PhotoBackDTO> listFrontFirstPhoto();
    List<PhotoBackDTO> listFrontSecondPhoto();
    List<PhotoBackDTO> listFrontThree1Photo();
    List<PhotoBackDTO> listFrontThree2Photo();
    List<PhotoBackDTO> listFrontFivePhoto();
}




